home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 21
/
Cream of the Crop 21 (Terry Blount) (October 1996).iso
/
editor
/
wf314.zip
/
WF311DOC.ZIP
/
DOCS
/
WF.C
< prev
next >
Wrap
Text File
|
1992-01-31
|
49KB
|
998 lines
.f3 - # - Appendix C - Examples & Tips
.rm70
.tc
.tc C. EXAMPLES & TIPS ....................................#
APPENDIX C EXAMPLES & TIPS
.irTIPS; see also Appendix C
This appendix consists of examples of various Word Fugue features.
They are in addition to the examples distributed throughout the
manual, and in the tutorial. The examples are intended to give you
ideas for using Word Fugue in your own work or to help you with a
particular application. Because Word Fugue users often have questions
relating to merge printing, many of these examples are related to
merge printing applications.
.tc Changing Page Length and Line Height ...............#
Changing Page Length and Line Height
Suppose you are printing a document for readers with visual
impairment. You plan to use double width characters on paper that is
14 inches long. You also plan to increase the line height in order to
increase the separation between lines.
By default, Word Fugue assumes that you are using American standard
8½-by-11-inch paper with 6 lines of text to the inch. This example
shows you how to set up a document for paper 14 lines long, with 4
lines per inch.
First, you must tell Word fugue of the new page length. At the default
of 6 lines per inch, 14 inch paper is 6 * 14 = 84 lines. So in order
to tell Word Fugue that you are using 14 inch paper, use the .PL
command to set the page length to 84.
.PL 84
Now, use the .LH command to set the appropriate line height, and Word
Fugue will calculate the correct number of lines per page at this
height. You must have set the page length first, or Word Fugue will
assume that you are using 66 line paper. The default line step is
measured in 1/48ths of an inch - if your printer does not use this,
then you must determine the appropriate step and number. At 4 lines
per inch, you need 12/48ths of an inch per line:
.LH 12
.LH 18/72 if your printer uses 1/72nds of an inch
.LH 54/216 if your printer uses 1/216ths of an inch
Word Fugue will calculate the new number of lines that will fit on a
page - 84/12*8 = 56 lines. (Or 14*4 = 56!). Subtract of the margins
from the new page length to determine how many lines in the text body:
56-5-4=47. Thus there will be 47 text lines to the page. (Please note
that this is not a figure for the .PL command.)
If you are using double width characters, you should change the right
margin to 33 to fit on the line (.RM33) and you should change the page
offset to 5 (.PO5) since these are measured in characters.
.CP10
.tc Double Spaced Text .................................#
Double Spaced Text
.ixDouble;Double Spaced Text (.LH)
If you need to print text double spaced, you actually want to print 3
lines per inch instead of the normal 6. You do this by changing the
line height. At 6 lines per inch, the line height was 8/48 inches. To
print 3 lines per inch, you need to double the line spacing to 16/48
inches:
.LH 16
Again, you should place this command at the top of your text.
.CP6
.tc Selective Printing of Page Numbers .................#
Selective Printing of Page Numbers
If you are printing a manual such as this, you probably do not want
page numbers on the title page, you want to use lower case roman
numerals for the table of contents, and ordinary numbers starting from
one at the first page of the first chapter. The following example
shows you how to do this.
┌─────────────────────────────────────────────────────────────────┐
│ .po10 │
│ .rm70 │
│ .mt5 │
│ .mb4 │
│ .pl66 │
│ │
│ Word Fugue │
│ │
│ User's Guide │
│ │
│ .pa │
│ --------------------- (page break) --------------- │
│ .H1 WORD FUGUE USERS GUIDE │
│ .H2 TABLE OF CONTENTS │
│ .h3 ────────────────────────────────────────────── │
│ .PA │
│ .f1 │
│ .f2 ────────────────────────────────────────────── │
│ .f3 - # - │
│ A ─────────.pn1 │
│ B ─────────.pt r │
│ C ─────────.fiwf.toc contains the text for table of contents │
│ .pa │
│ --------------------- (page break) --------------- │
│ .H1 WORD FUGUE USERS GUIDE │
│ .h2 ────────────────────────────────────────────── │
│ D ─────────.H3 │
│ E ─────────.pn1 │
│ F ─────────.pt n │
│ │
│ [Text] │
│ │
└─────────────────────────────────────────────────────────────────┘
For the sample book on the previous page, printing starts without page
numbers on the title page. (This is the default, so the .OP command is
not needed). The .PA command starts a new page for the table of
contents. The footing with the # will cause page numbers to be printed
from then on. However, the first page of the table of contents is
physically the second page of the document, and Word Fugue will have
set the page number to 2. Thus the line labelled A (.PN1) resets the
page number to 1 for the table of contents.
We want lowercase roman Numerals for the contents, so line B (.PT r)
will set page numbers to be printed in lower case roman numerals. The
table of contents is held in a separate file WF.TOC and so is copied
in using the .FI file include command at line C.
At the end of the table of contents we take a new page and change the
heading. Line D blanks heading line 3. Line E resets the page number
back to 1 again for the first chapter. Line F changes the page number
type back to ordinary numbers.
.tc Printing the First Page on Letterhead ..............#
Printing the First Page of a Document on Letterhead
This is the format for the first page of an organisation's formal
correspondence on preprinted letterhead.
┌────────────────────────────────────────────────────────────┐
│ │
│ ..STATIONARY FORMAT │
│ ..FIRST PAGE │
│ .RRL ! ! ! ! R │
│ .MT10 │
│ .MB5 │
│ .PO14 │
│ {.@D8} │
└────────────────────────────────────────────────────────────┘
The large top margin of 10 accommodates the preprinted letterhead. The
{.@D8} causes the current dat